package com.huarui.sale.dao;

import java.util.List;
import java.util.Map;

import org.ewaf.framework.dao.IBaseDao;

import com.huarui.sale.model.ExpressItem;

/**
 * 急件明细
 * @author xu
 *
 */
public interface IExpressItemDao extends IBaseDao {
	/**
	 * 根据expressId查询急件明细
	 * @param expressId
	 * @return
	 *
	 */

	public List<Map<String,Object>> getExpressItemForMapByExpressIds(List<Integer> ids);
	
	public List<Map<String,Object>> getExpressItemForMapByExpressId(Integer expressId);

	public void batchInsertExpressItem(List<ExpressItem> expressItems);

	public void batchUpdateExpressItem(List<ExpressItem> expressItems);

	@SuppressWarnings("unchecked")
	public void bacthDeleteExpressItemByIds(List<Map> expressItemDeletedIds);

	public void batchUpdateExpressItemInventoryId(List<ExpressItem> expressItems);

	@SuppressWarnings("unchecked")
	public Integer getExpressItemCountByConditions(Map queryMap);

	@SuppressWarnings("unchecked")
	public List<Map> getExpressItemForMapByConditions(Map queryMap);

}
